package com.csii.autocode.utils;


import cn.hutool.core.util.StrUtil;

public class SqlUtil {
    public static String isNullable(String paramString) {
        if ("YES".equals(paramString) || "yes".equals(paramString) || "y".equals(paramString) || "Y".equals(paramString) || "f".equals(paramString))
            return "Y";
        if ("NO".equals(paramString) || "N".equals(paramString) || "no".equals(paramString) || "n".equals(paramString) || "t".equals(paramString))
            return "N";
        return null;
    }

    public static String isBlank(String paramString) {
        if (StrUtil.isBlank(paramString))
            return "";
        return paramString;
    }

    public static String stringSplice(String paramString) {
        return "'" + paramString + "'";
    }
}
